public class TestBed {
	public static void main(String [] args) {
		final String src = "http://www.asd.asd/asdasd/asddwdw?asda=asd&asd";
		final String format = "/";
		
		String [] ss = src.split(format);
		System.out.println(ss[ss.length-1]);
		
		String [] sss = ss[ss.length-1].split("\\?");
		System.out.println(sss[0]);
		
		SomeClass sc = new SomeClass();
		sc.someAction();
	}
}
